package net.steam.easyjoboa.dao.impl;

import net.steam.easyjoboa.dao.TicklerDao;
import net.steam.easyjoboa.entity.Tickler;

public class TicklerDaoImpl extends BaseDaoSupport<Integer, Tickler> implements TicklerDao{

	/**
	 * 批量删除
	 */
	public void deleteAll(int[] id) {
		for (int i = 0; i < id.length; i++) {
			getHibernateTemplate().delete(getHibernateTemplate().get(Tickler.class, id[i]));
		}
	}

}
